home *** CD-ROM | disk | FTP | other *** search
/ Acorn RISC PD-CD 1 / Acorn RISC PD-CD 1.iso / utilities / _discutils / discutils / _disclabel / _run < prev    next >
Encoding:
Text File  |  1992-05-07  |  799 b   |  25 lines

  1. | !Run file for !DiscLabel Application V1.00
  2. | by Nigel Gent
  3. if "<System$Path>" = "" then Error 0 System resources cannot be found
  4. set clib$flag 0
  5. RMensure SharedClibrary 3.00 set clib$flag 1
  6. RMensure SharedClibrary 0 set clib$flag 0
  7. if "<clib$flag>"="1" then Error An old version of the shared C library (clib) is resident in your machine.
  8. unset clib$flag
  9. |
  10. | Install the shared C library (clib)
  11. | -----------------------------------
  12. |
  13. RMensure SharedClibrary 3.00 RMload system:modules.clib
  14. RMensure SharedClibrary 3.00 Error You need at least version 3.00 of the shared C library
  15.  
  16. IconSprites <Obey$Dir>.!Sprites
  17. | Find our path
  18. Set DiscLabel$Dir <Obey$Dir>
  19. Set DiscLabel$Printer "Star-LC10"
  20. | Check memory allocation
  21. WimpSlot -min 150K -max 150K
  22. | Start program
  23. Run <DiscLabel$Dir>.!RunImage
  24.